#include<stdio.h>
int main()
{
    //freopen("in.txt","r",stdin);
    int count = 0;
    int a,b,c;
    scanf("%d %d %d",&a,&b,&c);
    for(int i = a; i <= b; i++)
    {
        if (c % i == 0) count++;
    }
    printf("%d",count);
}